﻿using Code;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace Models {
    public class LevelUpLog {
        public long Id { get; set; }

        [Required]
        public long UserId { get; set; }

        [Required, Column(TypeName = "datetime")]
        public DateTime CreateTime { get; set; }

        [Required, Column(TypeName = "smallint")]
        public LevelCode Level { get; set; }


        [Column("IsEnable", TypeName = "bit")]
        public bool IsEnable { get; set; }
    }
}
